package sharedData;

/**
 * Interface for constructing an abstract DataItem Java bean
 * 
 * @author Didzis Petkus, Danny Johansen, Liviu Berheci
 */
public interface IDataItem {

	/**
	 * Returns the type of the IDataItem object.
	 * 
	 * @return - byte representing the type.
	 */
	public byte getType();

	/**
	 * Returns the x coordinate of IDataItem object.
	 * 
	 * @return - float x coordinate.
	 */
	public float getX();

	/**
	 * Returns the y coordinate of IDataItem object.
	 * 
	 * @return - float y coordinate.
	 */
	public float getY();

	/**
	 * Returns the heading of IDataItem object.
	 * 
	 * @return - float the heading angle.
	 */
	public float getHeading();

}